package com.huayi.website;

import com.huayi.website.utils.PagingDialect;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
public class WebsiteApplication {

    public static void main(String[] args) {
        SpringApplication.run(WebsiteApplication.class, args);
    }
    @Bean
    public PagingDialect paging() {
        return new PagingDialect();
    }

}
